/*
 WordItem.h
 iSpeLL
 
 Created by liulei on 5/30/10.
 readonlyright 2010 cool8jay@qq.com. All rights reserved.
 */

#import <Cocoa/Cocoa.h>

/*
 Component of a word item form www.dict.cn:
 1. word name(must exist)
 2. word pronunciation(if exists)
 3. a list of Chinese word explannations(must exist, otherwise no word found!)
 4. a list of Chinese word examples(if exists)
 5. a list of English word explannations(if exists)
 6. a list of suggested words if not found matched.
 */
@interface WordItem : NSObject {
	NSString *name;
	NSString *pronounciation;
	NSArray *chineseExplanations;
	NSArray *chineseExamples;
	NSArray *englishExplanations;
	NSArray *englishExamples;
	NSArray *suggestedWords;
}

@property (readonly) NSString *name;
@property (readonly) NSString *pronounciation;
@property (readonly) NSArray *chineseExplanations;
@property (readonly) NSArray *chineseExamples;
@property (readonly) NSArray *englishExplanations;
@property (readonly) NSArray *englishExamples;
@property (readonly) NSArray *suggestedWords;

@end
